import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import router from './router/index'


Vue.config.productionTip = false
Vue.use(VueRouter)

new Vue({
  el:'#app',
  render:h=>h(App),
  router,
  beforeCreate(){
    Vue.prototype.$bus = this
  }
})